package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class LiveRecord {
    private String id;

    private String rId;

    private String anchorId;

    private String dId;//生成的捐赠id

    private String description;

    private BigDecimal reward;

    private BigDecimal mulct;

    private Double profitRate;//收益分成比率，由系统指定

    private Double donationRate;//直播捐赠比率，由主播在结束播放的时候决定

    private BigDecimal donationAmount;//当场直播用户捐赠金额

    private BigDecimal userProfit;//用户收益

    private BigDecimal platformProfit;//平台收益

    private Integer status;

    private Integer audienceSize;

    private Date created;

    private Date updated;

    private Integer duration;

    public LiveRecord(String id, String rId, String anchorId, String description, BigDecimal reward, BigDecimal mulct, Integer status, Integer audienceSize, Date created, Integer duration) {
        this.id = id;
        this.rId = rId;
        this.anchorId = anchorId;
        this.description = description;
        this.reward = reward;
        this.mulct = mulct;
        this.status = status;
        this.audienceSize = audienceSize;
        this.created = created;
        this.duration = duration;
    }

    public LiveRecord() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getrId() {
        return rId;
    }

    public void setrId(String rId) {
        this.rId = rId == null ? null : rId.trim();
    }

    public String getAnchorId() {
        return anchorId;
    }

    public void setAnchorId(String anchorId) {
        this.anchorId = anchorId == null ? null : anchorId.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public BigDecimal getReward() {
        return reward;
    }

    public void setReward(BigDecimal reward) {
        this.reward = reward;
    }

    public BigDecimal getMulct() {
        return mulct;
    }

    public void setMulct(BigDecimal mulct) {
        this.mulct = mulct;
    }

    public Double getProfitRate() {
        return profitRate;
    }

    public void setProfitRate(Double profitRate) {
        this.profitRate = profitRate;
    }

    public Double getDonationRate() {
        return donationRate;
    }

    public void setDonationRate(Double donationRate) {
        this.donationRate = donationRate;
    }

    public String getdId() {
        return dId;
    }

    public void setdId(String dId) {
        this.dId = dId;
    }

    public BigDecimal getDonationAmount() {
        return donationAmount;
    }

    public void setDonationAmount(BigDecimal donationAmount) {
        this.donationAmount = donationAmount;
    }

    public BigDecimal getUserProfit() {
        return userProfit;
    }

    public void setUserProfit(BigDecimal userProfit) {
        this.userProfit = userProfit;
    }

    public BigDecimal getPlatformProfit() {
        return platformProfit;
    }

    public void setPlatformProfit(BigDecimal platformProfit) {
        this.platformProfit = platformProfit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAudienceSize() {
        return audienceSize;
    }

    public void setAudienceSize(Integer audienceSize) {
        this.audienceSize = audienceSize;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }


    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }
}